//
// Created by Amon on 2021/10/16.
//

#ifndef AMONPLAYER_SIGNALHANDLER_H
#define AMONPLAYER_SIGNALHANDLER_H

#include <signal.h>
#include <string>
#include <unistd.h>
#include "CrashDefine.h"
#include "CrashAnalyser.h"

extern bool installSignalHandlers();

extern void installAlternateStack();

static struct sigaction default_handlers[NSIG];

#endif //AMONPLAYER_SIGNALHANDLER_H
